package com.lening.provider.service.impl.ComplaintAndAdvice;


import com.lening.common.base.BaseServiceImpl;
import com.lening.provider.dao.ComplaintAndAdvice.ComplaTypeDAO;
import com.lening.provider.dto.ComplaintAndAdvice.ComplaTypeDTO;
import com.lening.provider.po.ComplaintAndAdvice.ComplaTypePO;
import com.lening.provider.service.ComplaintAndAdvice.ComplaTypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 刘政华
 * @datetime 2024/6/5 11:28
 * @description 类对象
 */
@Slf4j
@Service
public class ComplaTypeServiceImpl extends BaseServiceImpl<ComplaTypeDAO, ComplaTypePO, ComplaTypeDTO> implements ComplaTypeService {

    @Resource
    private ComplaTypeDAO complaTypeDAO;

    @Override
    public List<ComplaTypeDTO> getByName(String complaTypeName) {
        List<ComplaTypeDTO> list = complaTypeDAO.getByName(complaTypeName);
        return list;
    }
}
